﻿
<%@ Page Language="C#" MasterPageFile="~/UCenter/UCenter.Master" AutoEventWireup="True" Inherits="Fjaspx.UCenter.Flash" Title="闪存" Codebehind="Flash.aspx.cs" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:TextBox CssClass="text" Height="36px" ID="TextBox_flash_title" runat="server"  Text="忙碌了一天抽空闪一下吧！"  Width="390px"></asp:TextBox>
<asp:Button ID="Button_ADDflash" runat="server" Text="闪一下"  Height="36px"  Width="90px" onclick="Button_ADDflash_Click"  />
<dl class="feed_block" style="margin-left:15px;">
<asp:Repeater ID="Repeater_list" runat="server">
<ItemTemplate>
<dt class="ing">
<span><%#___ROYcms_user_bll.GetField(Convert.ToInt32(Eval("User_Id")),"name")%>说:</span> 
<a href="#all<%#Eval("id")%>" rel="facebox"><%#Eval("title")%></a> 
<%#Eval("time")%>
<div id="all<%#Eval("id")%>" style=" display:none;">
<%#___ROYcms_user_bll.GetField(Convert.ToInt32(Eval("User_Id")),"name")%>在[<%#Eval("time")%>]时刻路过时<br />
闪了一下：<%#Eval("title")%><br />
<%#Eval("user_id").ToString() == Fjaspx.Common.Session.Get("user_id") ? "<a href='?del=" + Eval("id") + "' >删除</a>" : ""%>
<%#Fjaspx.Common.Session.Get("administrator") != null ? "<a href='?del=" + Eval("id") + "' >删除</a>" : ""%>
</div>
<%#Eval("user_id").ToString() == Fjaspx.Common.Session.Get("user_id") ? "<a href='#del" + Eval("id") + "' rel='facebox'>删除</a>" : ""%>
<%#Fjaspx.Common.Session.Get("administrator") != null ? "<a href='#del" + Eval("id") + "' rel='facebox'>删除</a>" : ""%>
<div id="del<%#Eval("id")%>" style=" display:none;">
确实要删除<br />[<%#Eval("title")%>] 吗？
<a href="?del=<%#Eval("id")%>">删除</a>
</div>
 </dt>
</ItemTemplate>
</asp:Repeater>
</dl>

</asp:Content>
